package com.czk;

/**
 * @Author:ChenZhangKun
 * @Date: 2021/4/19 21:51
 */

public class NzqService {
    private MyProperties properties;

    /**
     * 定义set方法
     * @param properties
     */
    public void setProperties(MyProperties properties) {
        this.properties = properties;
    }
    public void print(){
        System.out.println("名字是="+properties.getName()+"age="+properties.getAge());
    }
}
